using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class Ipadjust
    {
        public Ipadjust()
        {
            this.Ipadjust1 = new List<Ipadjust>();
        }

        public string ITEM { get; set; }
        public string LOCATION { get; set; }
        public System.DateTime DATE { get; set; }
        public double QTY { get; set; }
        public string TRANSCODE { get; set; }
        public string DESC { get; set; }
        public string ACCT { get; set; }
        public Nullable<double> PURITY { get; set; }
        public Nullable<double> GROSSWGHT { get; set; }
        public Nullable<double> PUREWGHT { get; set; }
        public Nullable<double> COST { get; set; }
        public Nullable<double> AMOUNT { get; set; }
        public Nullable<bool> IN_PCS { get; set; }
        public Nullable<bool> GOLDSILV { get; set; }
        public Nullable<short> ITEMTYPE { get; set; }
        public short CURRENCY { get; set; }
        public bool POSTED { get; set; }
        public Nullable<int> Reference { get; set; }
        public int ADJID { get; set; }
        public string File_Primary_Key { get; set; }
        public Nullable<System.DateTime> expiryDate { get; set; }
        public short AdjustType { get; set; }
        public Nullable<System.DateTime> TIME { get; set; }
        public Nullable<short> CSTCTRID { get; set; }
        public string INVACCT { get; set; }
        public string vglbatch { get; set; }
        public bool Closed { get; set; }
        public Nullable<int> AdjHeader { get; set; }
        public Nullable<double> QTY_Opp { get; set; }
        public virtual Acct Acct1 { get; set; }
        public virtual Acct Acct2 { get; set; }
        public virtual AdjHeader AdjHeader1 { get; set; }
        public virtual Cstctr Cstctr { get; set; }
        public virtual currency currency1 { get; set; }
        public virtual ICollection<Ipadjust> Ipadjust1 { get; set; }
        public virtual Ipadjust Ipadjust2 { get; set; }
        public virtual IpAdjustType IpAdjustType { get; set; }
    }
}
